#ifndef COURIER_H
#define COURIER_H

#include <QWidget>
#include <QMessageBox>
#include <socketmanager.h>
#include <QTcpSocket>
namespace Ui {
class Courier;
}

class Courier : public QWidget
{
    Q_OBJECT

public:
    explicit Courier(QWidget *parent = nullptr);
    ~Courier();
signals:
    void returnregister();
    void rigfinish();
private slots:
    void on_pushButton_clicked();

    void on_checkBox_stateChanged(int arg1);

    void on_pushButton_2_clicked();

    void rcv_rgs();

private:
    Ui::Courier *ui;
    QTcpSocket *socket;
};

#endif // COURIER_H
